export interface IChargingPileData {
  value: number;
  name: string;
  percentage: string;
  color: string;
}

export interface IDataAnalysisItem {
  id: number;
  title: string;
  totalNum: number;
  unit: string;
  percentage: number;
  isUp: boolean;
}
export interface IChargingTop4Item {
  id: number;
  name: string;
  percentage: string;
}
export interface IChargingStatisticsItem {
  name: string;
  value: number;
}
export interface IExceptionMonitoringItem {
  id: number;
  name: string;
  value: number;
  dur: string;
  begin: string;
}

export interface IChargingPile {
  name?: string;
  data?: IChargingPileData[];
}
export interface IProcessMonitoring {
  name?: string;
  data?: any[];
}
export interface IDataAnalysis {
  name?: string;
  data?: IDataAnalysisItem[];
}
export interface IChargingTop4 {
  name?: string;
  data?: IChargingTop4Item[];
  totalPercentage?: number;
}
export interface IChargingStatistics {
  name?: string;
  data?: IChargingStatisticsItem[];
}
export interface IExceptionMonitoring {
  name?: string;
  data?: IExceptionMonitoringItem[];
}

export interface IEcharts {
  chargingPile: IChargingPile;
  processMonitoring: IProcessMonitoring;
  dataAnalysis: IDataAnalysis;
  chargingTop4: IChargingTop4;
  chargingStatistics: IChargingStatistics;
  exceptionMonitoring: IExceptionMonitoring;
}
